package com.example.testoink;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.Window;

public class SelectStageActivity extends Activity {

	public void goToStage1(View v){
		
	    Intent intent = new Intent(SelectStageActivity.this,MainActivity.class);
		
	    intent.putExtra("stageNum",1);
	    
	    startActivity(intent);
		
		
	}
	
public void goToStage2(View v){
		
	    Intent intent = new Intent(SelectStageActivity.this,MainActivity.class);
		
	    intent.putExtra("stageNum",2);
	    
		startActivity(intent);
		
		
	}

public void goToStage3(View v){
	
    Intent intent = new Intent(SelectStageActivity.this,MainActivity.class);
    
    intent.putExtra("stageNum",3);
	
	startActivity(intent);
	
	
}
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_select_stage);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.select_stage, menu);
		return true;
	}

}
